﻿package com.obas.model.metadata
{
	import com.obas.model.metadata.DictionaryType;
	import com.obas.model.metadata.MetaModel;

	[Bindable]
	[RemoteClass(alias="com.obas.model.metadata.DictionaryOption")]
	
	public class DictionaryOption
		extends
			com.obas.model.metadata.MetaModel
	{
		public static const Column_DICTIONARYTYPE_ID:String="DICTIONARYTYPE_ID";
		public static const Column_ORDINAL:String="ORDINAL";

		private var _ordinal:int;
		private var _dictionaryTypeId:Number;
		private var _dictionaryType:com.obas.model.metadata.DictionaryType;
		private var _value:int;

		public function DictionaryOption()
		{
		}

		public function get ordinal():int
		{
			return _ordinal;
		}

		public function set ordinal(value:int):void
		{
			_ordinal = value;
		}

		public function get dictionaryTypeId():Number
		{
			return _dictionaryTypeId;
		}

		public function set dictionaryTypeId(value:Number):void
		{
			_dictionaryTypeId = value;
		}

		public function get dictionaryType():com.obas.model.metadata.DictionaryType
		{
			return _dictionaryType;
		}

		public function set dictionaryType(value:com.obas.model.metadata.DictionaryType):void
		{
			_dictionaryType = value;
		}

		public function get value():int
		{
			return _value;
		}

		public function set value(value:int):void
		{
			_value = value;
		}
	}
}